import {SysCompanyInfoData} from "@/pages/company/type";
import {CProFormProps} from "@/components/CProForm/type";
import {PageContainer} from "@ant-design/pro-layout";
import ProCard from "@ant-design/pro-card";
import CProForm from "@/components/CProForm";
import style from "@/pages/company/Stateless/style.less";

export interface CompanyInfoProps{
  companyInfo: SysCompanyInfoData,
  formProps: CProFormProps,
}
export default (props: CompanyInfoProps)=>{
  return (
    <PageContainer>
      <ProCard>
        {/*// @ts-ignore*/}
        <CProForm className={style.form} {...props.formProps}/>
      </ProCard>
    </PageContainer>
  )
}
